package com.soilflow.common.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.soilflow.common.annotation.Excel;
import com.soilflow.common.mybatisplus.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
public class ArticleVo extends BaseEntity {
    private Long id;
    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String content;

    private Long categoryId;

    private String createBy;

    private Long createId;

    private Date createTime;

    private String categoryName; //分类名称

    private int viewCount; //文章收藏数量

    private int likeCount; //文章点赞数量
}
